Eating your own dogfood....
Published 2004-02-22 23:30:18
My main development server is softlinked to hell with the pear (and pear compatible) packages I maintain. This has one great advantage, that you tend to get the maximum testing possible...
This week picked up a few rather nasty bugs.
DataObjects - Dates, Having added a smart way to read/write date values, I missed the slight problem that pear's Date package doesnt accept dates in the format 1940-01-31, it needs the time at the end!
Flexy - this was a bit more problematic. I was putting an image on a page, and wrapping it with a <A tag, but for some reason on the compliled template, the link was being closed before the <img tag, and the image button never worked...
It turned out that My masterpiece of tree building for the HTML document (a 2 phase process of first matching start and end tags, using seperate stacks for each tag type, then tree building by stepping through and recursively looking for open to close.... ) had forgotten that when a phase 1 stack was empty, I should wipe the element off the stack (as well as reseting the stack counter..)
Ah well - bugs are great things..
I'm still halfway through writing an article on XML parsing with XML_Tree_Morph - kind of wonder if it takes so long to write the article, then it's not simple enough.. - mind you XML parsing is always hard to explain...
This week picked up a few rather nasty bugs.
DataObjects - Dates, Having added a smart way to read/write date values, I missed the slight problem that pear's Date package doesnt accept dates in the format 1940-01-31, it needs the time at the end!
Flexy - this was a bit more problematic. I was putting an image on a page, and wrapping it with a <A tag, but for some reason on the compliled template, the link was being closed before the <img tag, and the image button never worked...
It turned out that My masterpiece of tree building for the HTML document (a 2 phase process of first matching start and end tags, using seperate stacks for each tag type, then tree building by stepping through and recursively looking for open to close.... ) had forgotten that when a phase 1 stack was empty, I should wipe the element off the stack (as well as reseting the stack counter..)
Ah well - bugs are great things..
I'm still halfway through writing an article on XML parsing with XML_Tree_Morph - kind of wonder if it takes so long to write the article, then it's not simple enough.. - mind you XML parsing is always hard to explain...
Mentioned By:
google.com : february (92 referals)
google.com : december (12 referals)
google.com : XML_Tree_Morph (11 referals)
google.com : pear flexy foreach counter (2 referals)
google.com : pear XML_Tree_Morph (2 referals)
google.com : buick (1 referals)
google.com : cyclobenzaprine (1 referals)
google.com : dogfood (1 referals)
google.com : flexy for counter] (1 referals)
google.com : november (1 referals)
google.com : own element site:akbkhome.com (1 referals)
google.com : php flexy foreach counter (1 referals)
google.com : php flexy template site:akbkhome.com -svn -"Index of" (1 referals)
google.com : XML_Tree_Morph pear (1 referals)
google.com : february (92 referals)
google.com : december (12 referals)
google.com : XML_Tree_Morph (11 referals)
google.com : pear flexy foreach counter (2 referals)
google.com : pear XML_Tree_Morph (2 referals)
google.com : buick (1 referals)
google.com : cyclobenzaprine (1 referals)
google.com : dogfood (1 referals)
google.com : flexy for counter] (1 referals)
google.com : november (1 referals)
google.com : own element site:akbkhome.com (1 referals)
google.com : php flexy foreach counter (1 referals)
google.com : php flexy template site:akbkhome.com -svn -"Index of" (1 referals)
google.com : XML_Tree_Morph pear (1 referals)
Follow us
-
- Some thoughts on the language server and its usefulness in the roobuilder
- Roo Builder for Gtk4 moving forward
- Clustered Web Applications - Mysql and File replication
- GitLive - Branching - Merging
- PDO_DataObject Released
- PDO_DataObject is under way
- Mass email Marketing and anti-spam - some of the how-to..
- Hydra - Recruitment done right
Blog Latest
-
Twitter - @Roojs